using ERP.RBAC;
using Volo.Abp.Domain.Entities;

namespace ERP.ERPModels.WorkforceManage
{
    /// <summary>
    /// 班组成员关联实体
    /// </summary>
    public class TeamMember : Entity<int>
    {
        /// <summary>
        /// 班组ID
        /// </summary>
        public int TeamId { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 班组导航属性
        /// </summary>
        public virtual Team Team { get; set; }

        /// <summary>
        /// 用户导航属性
        /// </summary>
        public virtual Users User { get; set; }
    }
} 